package com.flow.demo.module.gd.controller.app.gift.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class SaveAddressDto {

    @NotNull(message = "listId不能为空")
    private Integer listId;

    @NotEmpty(message = "name不能为空")
    private String name;

    @NotEmpty(message = "phone不能为空")
    private String phone;

    @NotEmpty(message = "address不能为空")
    private String address;


}
